package com.liuyou.main;

import com.liuyou.templatemethod.PeanutSoyaMilk;
import com.liuyou.templatemethod.PureSoyaMilk;
import com.liuyou.templatemethod.RedBeanSoyaMilk;
import com.liuyou.templatemethod.SoyaMilk;

public class TemplateMethodClient {
    public static void main(String[] args) {
        SoyaMilk redBeanSoyaMilk = new RedBeanSoyaMilk();
        redBeanSoyaMilk.make();
        System.out.println("---------------------------------------");
        SoyaMilk peanutSoyaMilk = new PeanutSoyaMilk();
        peanutSoyaMilk.make();
        System.out.println("---------------------------------------");
        SoyaMilk pureSoyaMilk = new PureSoyaMilk();
        pureSoyaMilk.make();
    }
}
